/**
 * @author yxw
 * date : 2014年2月14日 下午1:24:49 
 */
package com.tzinfo.tzb.domain;

import java.util.List;

public class UserList {
	public static UserList dao = null;
	private boolean success;
	private String msg;
	private List<Userinfo> data;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public static class Userinfo {
		private int uid;
		private String username;
		private String netname;
		private String userstate;
		private String bbbirthday;
		private String bbsex;
		private int credits;
		private String regdate;
		private String avatar;

		public int getUid() {
			return uid;
		}

		public void setUid(int uid) {
			this.uid = uid;
		}

		public String getUsername() {
			return username;
		}

		public void setUsername(String username) {
			this.username = username;
		}

		public int getCredits() {
			return credits;
		}

		public void setCredits(int credits) {
			this.credits = credits;
		}

		public String getRegdate() {
			return regdate;
		}

		public void setRegdate(String regdate) {
			this.regdate = regdate;
		}

		public String getAvatar() {
			return avatar;
		}

		public void setAvatar(String avatar) {
			this.avatar = avatar;
		}

		public String getNetname() {
			return netname;
		}

		public void setNetname(String netname) {
			this.netname = netname;
		}

		public String getUserstate() {
			return userstate;
		}

		public void setUserstate(String userstate) {
			this.userstate = userstate;
		}

		public String getBbbirthday() {
			return bbbirthday;
		}

		public void setBbbirthday(String bbbirthday) {
			this.bbbirthday = bbbirthday;
		}

		public String getBbsex() {
			return bbsex;
		}

		public void setBbsex(String bbsex) {
			this.bbsex = bbsex;
		}

		@Override
		public String toString() {
			return "Userinfo [uid=" + uid + ", username=" + username
					+ ", netname=" + netname + ", userstate=" + userstate
					+ ", bbbirthday=" + bbbirthday + ", bbsex=" + bbsex
					+ ", credits=" + credits + ", regdate=" + regdate
					+ ", avatar=" + avatar + "]";
		}

	}

	public List<Userinfo> getData() {
		return data;
	}

	public void setData(List<Userinfo> data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "UserListdr [success=" + success + ", msg=" + msg + ", data="
				+ data + "]";
	}

}
